package com.xqc.exception;

import java.util.Optional;

public class ThrowUtils {

    public static void throwEx(String message){
        Optional.ofNullable(null).orElseThrow(() -> new RuntimeException(message));
    }
}
